#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>

typedef int HPDataType;
typedef struct Heap
{
	HPDataType* a;
	int size;
	int capacity;
}Heap;

void HPInit(Heap* shp);
void HPDestrory(Heap* shp);
void Swap(HPDataType* tmp1, HPDataType* tmp2);
void HPPush(Heap* shp, HPDataType x);
void HPPop(Heap* shp);
void HPPrint(Heap* shp);
bool HPEmpty(Heap* shp);
